<%--
  Created by IntelliJ IDEA.
  User: 小文
  Date: 2021/9/3
  Time: 17:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改联系人</title>
</head>
<body>
    <form action="${pageContext.request.contextPath}/contact/update" method="post">
        <table>
            <tr>
                <td>
                    <input type="hidden" name="id" value="${contact.id}">
                </td>
            </tr>
            <tr>
                <td>姓名：</td>
                <td><input type="text" name="cname" value="${contact.cname}"></td>
            </tr>
            <tr>
                <td>手机：</td>
                <td><input type="text" name="mobile" value="${contact.mobile}"></td>
            </tr>
            <tr>
                <td>QQ：</td>
                <td><input type="text" name="qq" value="${contact.qq}"></td>
            </tr>
            <tr>
                <td>Email：</td>
                <td><input type="text" name="email" value="${contact.email}"></td>
            </tr>
            <tr>
                <td>地址：</td>
                <td><input type="text" name="address" value="${contact.address}"></td>
            </tr>
            <tr>
                <td><button type="submit">保存</button></td>
                <td><button type="reset">重置</button></td>
            </tr>
        </table>
    </form>
</body>
</html>
